<?php get_header(); ?>
	<div id="conteudo">
		<div id="artigos">
		
			<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
				<div class="artigo_inter">
					<h1><?php the_title(); ?></h1>
					<p style="color:#d35400"><?php the_time('d.m.Y') ?> / POR <span class="post_by"><?php the_author() ?></span> <div class="fb-share-button" style="margin-top:10px;" data-href="<?php echo get_permalink( $post->ID ); ?>" data-type="button_count"></div> <?php edit_post_link('(Editar)'); ?></p>
					<br>
					<p><?php the_content(); ?><p>
					<br><br>
				</div>
				
				<?php comments_template(); ?>
					
			<?php endwhile; else: ?>
				<div class="artigo">
					<h2>Nada Encontrado</h2>
					<p>Erro 404</p>
					<p>Lamentamos mas não foram encontrados artigos.</p>
				</div>			
			<?php endif; ?>
			
		</div>
		
		<?php get_sidebar(); ?>
	</div>
<?php get_footer(); ?>